<template>
	<view class="collapse-item__content--checkbox-box">
		<view class="collapse-item__content--checkbox" :class="checked ? 'checked' : ''">
			<text class="checkbox__icon" v-if="checked">
				<span></span>
			</text>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		props: {
			checked: {
				type: Boolean,
				default: false
			}
		},
		methods: {
			
		}
	}
</script>

<style>
	.collapse-item__content--checkbox-box {
		display: flex;
		justify-content: center;
	}
	
	.collapse-item__content--checkbox {
		width: 35rpx;
		height: 35rpx;
		border-radius: 50%;
		color: #fff;
		font-size: 25rpx;
		border: 1rpx solid rgb(200, 201, 204);
		line-height: 35rpx;
		background-color: #fff
	}
	
	.checked {
		background-color: rgb(41, 121, 255);
	}
	
	.checkbox__icon {
		font-family: uicon-iconfont;
		position: relative;
		display: flex;
		justify-content: center;
		align-items: center;
	}
</style>
